package com.alibaba.nacos.api.naming.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@Accessors(chain = true)
public class ServiceInfo {
    private String name;
    private String groupName;
    private String clusters;
    private long cacheMillis = 1000L;
    private List<Instance> hosts = new ArrayList<>();
    private long lastRefTime = System.currentTimeMillis();
    private volatile boolean reachProtectionThreshold = false;

}
